package org.kealinghornets;

import org.kealinghornets.MyNXTThread;

/**
 * Created by chuah on 12/3/14.
 */
public class HailMary extends MyNXTThread {

    public HailMary() {
        setNXTThreadName("HailMary");
    }

    public void run() {
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 100);
        wait(3000);
        runMotor(PORT_A, 100);
        runMotor(PORT_B, -50);
        wait(750);
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 100);
        stopMotor(PORT_A);
        stopMotor(PORT_B);

    }
}